package com.pengtu.utils.activemq;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import com.pengtu.model.JmsModel;

public class MessageConsumer {
	private Log log = LogFactory.getLog(getClass());

	public void addResource(JmsModel jms) {
		log.info("=======================================");
		log.info("receiveing message ...");
		log.info(jms.toString());
		log.info("here to invoke our business method...");
		log.info("======================================="+jms.getInfo());
		System.out.println("接受消息》》》——————"+jms.getInfo());
	}
}
